package com.training.admin.entity.upload;

/**
 *
 * @author Ark
 *
 */
public class UploadResult {
    
    /** 行号 */
    private int rowNum;
    
    /** 错误信息 */
    private String message;
    
    /** 項目信息 */
    private String projectInfo;
    /** 學員信息 */
    private String traineeInfo;
    
    
    /**
     * The default constructor
     */
    public UploadResult() {
    }

    /**
     * 
     * @param rowNum
     * @param message
     */
    public UploadResult(int rowNum, String message) {
        this.rowNum = rowNum + 1;
        this.message = message;
    }

    /**
     * @param rowNum
     * @param message
     * @param projectInfo
     */
    public UploadResult(int rowNum, String message, String projectInfo) {
		this.rowNum = rowNum;
		this.message = message;
		this.projectInfo = projectInfo;
	}
    
    /**
     * @param rowNum
     * @param message
     * @param projectInfo
     * @param traineeInfo
     */
    public UploadResult(int rowNum, String message, String projectInfo, String traineeInfo) {
		this.rowNum = rowNum;
		this.message = message;
		this.projectInfo = projectInfo;
		this.traineeInfo = traineeInfo;
	}

	/**
     * @return the rowNum
     */
    public int getRowNum() {
        return rowNum;
    }

    /**
     * @return the message
     */
    public String getMessage() {
        return message;
    }
    
 

    /**
     * @param rowNum the rowNum to set
     */
    public void setRowNum(int rowNum) {
        this.rowNum = rowNum;
    }

    /**
     * @param message the message to set
     */
    public void setMessage(String message) {
        this.message = message;
    }

	/**
	 * @return the projectInfo
	 */
	public String getProjectInfo() {
		return projectInfo;
	}

	/**
	 * @param projectInfo the projectInfo to set
	 */
	public void setProjectInfo(String projectInfo) {
		this.projectInfo = projectInfo;
	}

	/**
	 * @return the traineeInfo
	 */
	public String getTraineeInfo() {
		return traineeInfo;
	}

	/**
	 * @param traineeInfo the traineeInfo to set
	 */
	public void setTraineeInfo(String traineeInfo) {
		this.traineeInfo = traineeInfo;
	}
    
 
}
